-- register type's parameters
Param( "float3 Plane::planeColor" )
Param( "float Plane::planeSize" )

-- register type's functions
Func( "void Plane::Initialize()" )
Func( "float3 Plane::GetPlaneColor()" )
Func( "float Plane::GetPlaneSize()" )
Func( "void Plane::SetPlaneColor( float3 )" )
Func( "void Plane::SetPlaneSize( float )" )

Body( "Plane", "./media/model/plane.dae" )
CommonFX( "Plane", "./media/effect/plane.xml" )

function Initialize( params )
	params.planeColor = float3( 0.9, 0.9, 1.0 )
	params.planeSize = 1.0
end

function GetPlaneColor( params )
	return params.planeColor
end

function GetPlaneSize( params )
	return params.planeSize
end

function SetPlaneColor( params, color )
	params.planeColor = color
end

function SetPlaneSize( params, size )
	params.planeSize = size
end